
package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 外包消耗记录对象 t_pack_consume_records
 * 
 * @author ruoyi
 * @date 2024-07-12
 */
public class TPackConsumeRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 已支付 */
    @Excel(name = "已支付")
    private BigDecimal payAmount;

    /** 项目 */
    @Excel(name = "项目")
    private Long projectId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 进粉数 */
    @Excel(name = "进粉数")
    private BigDecimal num;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal unit;

    /** 其他费用 */
    @Excel(name = "其他费用")
    private BigDecimal otherAmount;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal price;

    /** 公司收益 */
    @Excel(name = "公司收益")
    private BigDecimal camExam;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setPayAmount(BigDecimal payAmount) 
    {
        this.payAmount = payAmount;
    }

    public BigDecimal getPayAmount() 
    {
        return payAmount;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setNum(BigDecimal num)
    {
        this.num = num;
    }

    public BigDecimal getNum()
    {
        return num;
    }
    public void setUnit(BigDecimal unit) 
    {
        this.unit = unit;
    }

    public BigDecimal getUnit() 
    {
        return unit;
    }
    public void setOtherAmount(BigDecimal otherAmount) 
    {
        this.otherAmount = otherAmount;
    }

    public BigDecimal getOtherAmount() 
    {
        return otherAmount;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setCamExam(BigDecimal camExam) 
    {
        this.camExam = camExam;
    }

    public BigDecimal getCamExam() 
    {
        return camExam;
    }

    private String userName;
    private String proName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("payAmount", getPayAmount())
            .append("projectId", getProjectId())
            .append("time", getTime())
            .append("num", getNum())
            .append("unit", getUnit())
            .append("otherAmount", getOtherAmount())
            .append("remark", getRemark())
            .append("price", getPrice())
            .append("camExam", getCamExam())
            .append("createTime", getCreateTime())
            .toString();
    }
}
